package com.woniuxy.propertyjava.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Staff)实体类
 *
 * @author makejava
 * @since 2022-07-04 10:31:14
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Staff implements Serializable {
    private static final long serialVersionUID = -91776464863332718L;

    private Integer staffid;

    private String staffname;

    private String staffpassword;

    private String staffgender;

    private Integer staffage;

    private String staffphone;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date staffentrytime;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date staffresignationtime;

    private Integer staffdepartmentid;

    private Integer staffwagesid;





}

